#ifndef _TOUCHLINEEDIT_H
#define _TOUCHLINEEDIT_H

#include <QLineEdit>

class TouchKeyboard;

class TouchLineEdit : public QLineEdit {
//	Q_OBJECT
public:
	TouchLineEdit(QWidget *parent = 0);
	~TouchLineEdit();

protected:
	void focusInEvent(QFocusEvent *e);
	void focusOutEvent(QFocusEvent *e);
	void callKeyboard();
	void releaseKeyboard();

//slots:
//	void shouldCallKeyboard();
private:
	TouchKeyboard *keyboard;
};

#endif // _TOUCHLINEEDIT_H
